import type { Iroute } from "../../types"

import login from "./login"
import apply from "./apply"
import approve from "./approve"
import query from "./query"

const URL = "/material"

const routes:Array <Iroute> = [
    {
        url:URL+"/author",
        fn:login
    },
    {
        url:URL+"/apply",
        fn:apply
    },
    {
        url:URL+"/approve",
        fn:approve
    },
    {
        url:URL+"/query",
        fn:query
    }
]

export default routes